package com.codeoss.module.stock.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.codeoss.framework.service.impl.BaseService;
import com.codeoss.module.stock.dao.StockMovementLineMapper;
import com.codeoss.module.stock.model.StockMovementLine;
import com.codeoss.module.stock.service.IStockMovementLineService;

@Service
public class StockMovementLineService extends BaseService<StockMovementLineMapper, StockMovementLine>
		implements IStockMovementLineService {

	@Override
	public List<StockMovementLine> getLineListByStockMovementId(Long stockMovementId) {
		// TODO Auto-generated method stub
		QueryWrapper<StockMovementLine> queryWrapper=new QueryWrapper<StockMovementLine>();
		queryWrapper.eq("stock_movement_id", stockMovementId);
		return list(queryWrapper);
	}
}